package top.whysu.rongcloud.constant;

/**
 * @author
 * @version 1.00.00
 * @description 融云API对应的常量
 * @copyright
 * @company
 */
public class RongCloudConstant {

    /**10: 请求*/
    public static final int REQUESTING = 10;
     /**11: 被请求*/
    public static final int REQUESTED = 11;
     /**20: 同意*/
    public static final int AGREED = 20;
     /**21: 忽略*/
    public static final int IGNORED = 21;
     /**30: 被删除*/
    public static final int DELETED = 30;
     /**同意请求*/
    public static final String CONTACT_OPERATION_ACCEPT_RESPONSE = "AcceptResponse";
     /**请求*/
    public static final String CONTACT_OPERATION_REQUEST = "Request";

    /**
     * 响应码
     */
    public static final class Code {
        /**
         * 成功
         */
        public static final int SUCCESS = 200;
    }

    /**
     * 群组相关
     */
    public static final class Groups {
        /**最大成员数*/
        public static final int MAX_MEMBER_COUNT = 500;

        public static final String GROUP_OPERATION_CREATE = "Create";

        public static final String GROUP_OPERATION_ADD = "Add";

        public static final String GROUP_OPERATION_QUIT = "Quit";

        public static final String GROUP_OPERATION_DISMISS = "Dismiss";

        public static final String GROUP_OPERATION_KICKED = "Kicked";

        public static final String GROUP_OPERATION_RENAME = "Rename";

        public static final String GROUP_OPERATION_BULLETIN = "Bulletin";

        public static final String GROUP_OPERATION_TRANSFER = "Transfer";

        /**
         * 角色
         */
        public static final class Role {
            /**
             * 群主
             */
            public static final int OWNER = 0;
            /**
             * 普通成员
             */
            public static final int NORMAL = 1;
        }
    }

}